.footer-menu {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: #fafafa;
    height: 50px;
    display: flex
}

.footer-menu::before {
    /* content: "";
    display: block;
    clear: both;*/
    border-top: 1px solid red;
}

.footer-menu .tabbar {
    float: left;
    padding-top: 5px;
    text-align: center;
    border-top: 1px solid #16b777;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex: auto;
    flex-direction: column;
    align-items: center;
}

.footer-menu .tabbar .tabbar-bd {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 50px;
}


.footer-menu .tabbar .tabbar-bd .layui-icon {
    width: 21px;
    height: 21px;
    line-height: 21px;
    font-size: 21px;
}

.footer-menu .tabbar .select {
    color: #409eff;
}

.footer-menu .tabbar .tabbar-bd a:hover {
    color: red;
}


/* .footer-menu .tabbar a:visited {
            color: #409eff;
        } */
.footer-menu .tabbar .tabbar-bd .tabbar-badge {
    width: auto;
    height: 16px;
    line-height: 16px;
    border-radius: 16px;
    box-sizing: border-box;
    min-width: 16px;
    padding: 0 2px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

.footer-menu .tabbar .tabbar-bd .tabbar-reddot {
    position: absolute;
    top: 2px;
    right: 0;
    background-color: #f43530;
    color: #fff;
    transform: translate(30%);
}